<template>
    <div>
        <div>
     <ImgsUpload
     :fileList=imgList
     @changeImgList="changeImgList"
     arrLength="6"
     />
    </div>
    <hr>
     
    </div>
  </template>
  
  
  <script setup>
  import ImgsUpload from "@/components/img/imgsupload/index.vue";
  import {onMounted, reactive, ref} from "vue";
  
  const imgList = ref([])
 const imgString = ref(`["http://127.0.0.1:9091/files/1765459722227847169.jpg"]`);
  
  const changeImgList = (array) =>{
      imgList.value = array;
      const jsonString = JSON.stringify(imgList.value)
      console.log("变化的值",jsonString);
   
  }
  
  </script>
   
  